﻿using Model.EntityModel.SysModel;

namespace Service.IService.ISysService
{
    public interface ILocationService
    {
        List<LocationMaster> GetAll();
        string AddLocation(LocationMaster location);
        bool UpdateLocation(LocationMaster location);
        bool DeleteLocation(string locationId);
        LocationMaster GetLocationById(string locationId);
        List<LocationMaster> GetAllLocations();
        List<LocationMaster> GetLocationsByArea(string area);
        bool UpdateLocationArea(string locationId, string newArea);
        List<LocationMaster> SearchLocations(string keyword);
    }
}
